Simplifying Rational Algebraic Expressions